import 'package:p_location/common/obj/upload_item_obj.dart';

class UploadFileRes {
  final int code;
  final String msg;
  final UploadItemObj data;

  UploadFileRes({this.code, this.msg, this.data});

  factory UploadFileRes.fromJson(Map<String, dynamic> json) {
    return UploadFileRes(
        code: json['code'] ?? '',
        msg: json['msg'] ?? '',
        data: UploadItemObj.fromJson(json['data']));
  }
}
